package com.magic.zhixin.repository;

import com.magic.zhixin.entity.TransferRecord;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TransferRecordRepository extends JpaRepository<TransferRecord,Long>{
    List<TransferRecord> findByStatusAndUserId(Integer status, Long id);

    TransferRecord findByTradeNo(String tradeNo);
}
